﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChessOnline
{
    class Game
    {
        private GameInfo gameInfo = new GameInfo();

        public GameInfo GameInfo
        {
            get { return gameInfo; }
            set { gameInfo = value; }
        }

        private GameLogic gameLogic = new GameLogic();

        public GameLogic GameLogic
        {
            get { return gameLogic; }
            set { gameLogic = value; }
        }

        private string userNameTurn = "";

        public string UserNameTurn
        {
            get { return userNameTurn; }
            set { userNameTurn = value; }
        }

        public Game()
        {
        }

        private DateTime creatorLastAction = DateTime.Now;

        public DateTime CreatorLastAction
        {
            get { return creatorLastAction; }
            set { creatorLastAction = value; }
        }

        private DateTime connectedLastAction = DateTime.Now;

        public DateTime ConnectedLastAction
        {
            get { return connectedLastAction; }
            set { connectedLastAction = value; }
        }




    }
}
